<!--created by han.wen@dhc.com.cn-->
<ion-view view-title="游戏设置">
  <ion-content>
    <img ng-src="img/ballTheme.jpg" style="width: 100%;"/>

    <div class="padding-10">
      <div>比赛设置</div>
    </div>
    <div class="padding-10 border-top-bottom">
      <div class="row row-wrap">
        <div class="col col-33">
          <span>比赛场地</span>
        </div>
        <div class="col col-67">
          <span ng-bind="data.field?data.field:'请设置场地'" ng-click="setting(0);"></span>
        </div>
        <div class="col col-33">
          <span>比赛天气</span>
        </div>
        <div class="col col-67">
          <span ng-bind="data.weather?data.weather:'请设置天气'" ng-click="setting(1);"></span>
        </div>
        <div class="col col-33">
          <span>比赛球队</span>
        </div>
        <div class="col col-67">
          <span ng-bind="data.team[0].name?data.team[0].name:'玩家球队'" ng-click="setting(2,0);"></span>
          <span>&nbsp;vs&nbsp;</span>
          <span ng-bind="data.team[1].name?data.team[1].name:'电脑球队'" ng-click="setting(2,1);"></span>
        </div>
        <div class="col col-33">
          <span>比赛球员</span>
        </div>
        <div class="col col-67">
          <span ng-bind="data.team[0].member?(data.team[0].member[0].name+'等'):'玩家球员'" ng-click="setting(3,0);"></span>
          <span>&nbsp;vs&nbsp;</span>
          <span ng-bind="data.team[1].member?(data.team[1].member[0].name+'等'):'电脑球员'" ng-click="setting(3,1);"></span>
        </div>
        <div class="col col-33">
          <span>比赛性质</span>
        </div>
        <div class="col col-67">
          <span ng-bind="data.type?data.type:'请设置性质'" ng-click="setting(4);"></span>
        </div>
        <div class="col col-33">
          <span>比赛时间</span>
        </div>
        <div class="col col-67">
          <span ng-bind="data.time?data.time:'请设置时间'" ng-click="setting(5);"></span>
        </div>
      </div>
    </div>
    <div class="margin-top-20">
      <button class="button button-assertive button-full" ng-click="start();">开始游戏</button>
    </div>
  </ion-content>
</ion-view>
